#include<iostream>
#include<vector>
using namespace std;

int main()
{
    int v4 = 0;
    
    vector<int> a2 = 
    {0xBB, 0xCC, 0xA0, 0xBC, 0xDC, 0xD1, 0xBE, 0xB8, 0xCD, 0xCF, 
    0xBE, 0xAE, 0xD2, 0xC4, 0xAB, 0x82, 0xD2, 0xD9, 0x93, 0xB3, 
    0xD4, 0xDE, 0x93, 0xA9, 0xD3, 0xCB, 0xB8, 0x82, 0xD3, 0xCB, 
    0xBE, 0xB9, 0x9A, 0xD7, 0xCC, 0xDD
    };

    vector<int> v2 =
    {
        0xBB, 0xAA, 0xCC, 0xDD
    };

    for(int i = 0 ; i<v2.size();i++)
    {
        // for(int j = 0;j<a2.size();j++)
        // {
        //     v4*=4;
        //     a2[j]+=v4;
        //     v4++;
        //     a2[j]^=v2[i];
        //     cout<<a2[j]<<" ";
        //     cout<<static_cast<char>(a2[j])<<" ";

        // }
        // cout<<"\n\n";

        for(int j = 0;j<a2.size();j++)
        {
            cout<<static_cast<char>((a2[j] + 4*v4++)^v2[i])<<" ";
        }
        cout<<"\n\n";

    }

}